import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
import moduleCart from "./modoule/cart.js";
import moduleUser from "./modoule/user.js";
const store = new Vuex.Store({
	modules: {
			// 1.2挂载购物车的vuex模块
			m_cart: moduleCart,
			// 1.3挂载用户的vuex模块
			m_user: moduleUser,
		},
})
export default store
